package Decorator;

import Component.Component;
import Component.ComponentDecorator;

public class ScrollBar extends ComponentDecorator {
    public ScrollBar(Component component) {
        super(component);
    }
    public void Show() {
        this.setScrollBar();
        super.Show();
    }

    public void setScrollBar() {
        System.out.println("🛞滚轮");
    }
}

